﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddScore.aspx.cs" Inherits="Web.admin.InnerManage.AwardManage.AddScore" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../js/jquery.form.js" type="text/javascript"></script>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../../js/function.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="top_div">
        <div class="top_div_left" >
                <table>
                    <tr >
                        <td ><img  alt=""; src="../../images/main_hl.gif" /></td>
                        <td ><img alt=""; src="../../images/main_hl2.gif" /></td>
                        <td class="topNav"><span>获奖管理</span></td>
                        <td><img alt=""; src="../../images/main_hr.gif" /></td>
                    </tr>
                </table>
        </div>
    </div>
     <div class="middle_div">
        <div class="middle_left"></div>
        <div class="middle_middle">
            <div class="navigation"><span>首页&gt;校级竞赛任务&gt;获奖管理</span></div>
            <div class="tools_box">
                <div class="tools_bar">
                    <asp:HiddenField ID="ContestId" runat="server" />
                    <a href="#"  class="tools_btn" onclick="checkAll(this);"><span><b class="checkAll">全选</b></span></a>
                    <asp:LinkButton runat="server" OnClientClick="return confirm( '确定要删除此项内容吗？ ');" CssClass="tools_btn" ID="btn_Delete"><span><b class="delete">批量删除</b></span></asp:LinkButton>
                </div>
            </div>
            <div class="content_table">
                 <table class="msgtable" >
                 <asp:Repeater ID="RpList" runat="server">
                 <HeaderTemplate>
                      <tr>
                         <th>选择</th>                                
                         <th>所属竞赛</th>
                         <th>学生姓名</th>
                         <th>学生学号</th>
                         <th>所属班级</th> 
                         <th>所属学院</th>
                         <th>小组名称</th>  
                         <th>成绩</th>                    
                       </tr>
                 </HeaderTemplate>
                 <ItemTemplate>
                            <tr >
                                <td>
                                    <asp:CheckBox ID="CbChoose" CssClass="checkBox" runat="server" />
                                    <asp:HiddenField ID="Hf_id" runat="server" Value='<%#Eval("PAR_ID") %>' />
                                </td>
                                <td><%#Eval("CON_NAME")%> </td>
                                <td><%#Eval("STU_NAME")%></td>
                                <td><%#Eval("STU_CODE")%></td>
                                <td><%#Eval("CLA_NAME")%></td>
                                <td><%#Eval("ACA_NAME")%></td>                         
                                <td><%#Eval("GRO_NAME")%></td>
                                <td><asp:TextBox runat="server" ID="Tb_Score" Width="20"  Text='<%#Convert.ToInt32(Eval("PAR_SCORE"))==-1?" ":Eval("PAR_SCORE") %>'></asp:TextBox> </td>                      
                            </tr>
                   </ItemTemplate>
                   </asp:Repeater>
                   <asp:Repeater ID="RpListGroup" runat="server">
                        <HeaderTemplate>
                          <tr>
                             <th>选择</th>                                
                             <th>小组名称</th>
                             <th>所属竞赛</th>
                             <th>成绩</th>                    
                           </tr>
                     </HeaderTemplate>
                     <ItemTemplate>
                            <tr >
                                <td>
                                    <asp:CheckBox ID="CbChoose" CssClass="checkBox" runat="server" />
                                    <asp:HiddenField ID="Hf_id" runat="server" Value='<%#Eval("GRO_ID")%>' />
                                </td>
                                <td><%#Eval("GRO_NAME")%></td>
                                <td><%#Eval("CON_NAME")%></td>
                                <td><asp:TextBox runat="server" ID="Tb_Score" Width="20"  Text='<%#Convert.ToInt32(Eval("PAR_SCORE"))==-1?" ":Eval("PAR_SCORE") %>'></asp:TextBox> </td>                      
                            </tr>
                    </ItemTemplate>
                    </asp:Repeater>
                </table>
            </div>
            <div>
                <div>
                    <asp:CheckBox runat="server" ID="cb_update" Text="已经设置了等级百分比，直接生成学生获奖信息" />
                </div>
                <asp:Button runat="server" CssClass="btn_submit" OnClick="EnterClick" ID="Enter" Text="确定保存" />
            </div>
     </div>
    </form>
</body>
</html>
